<?php

declare(strict_types=1);

namespace app\index\logic;

use app\common\logic\Banner as LogicBanner;

class Banner extends LogicBanner
{
    /**
     * 获取列表
     */
    public static function getIndexLists()
    {
        $data = parent::getLists(['status' => 1], ['img', 'url']);
        return $data->toArray();
    }
}
